package io.itit.ecp.admin.server.service;

import icu.mhb.mybatisplus.plugln.base.service.JoinIService;
import io.itit.ecp.admin.server.entity.SceneEdificeEntity;
import io.itit.ecp.admin.server.entity.SceneFloorEntity;

import java.util.List;

/**
 * <p>
 *
 * @Author：Roy
 * @Description：楼层服务类
 * @Date：Create by 2023-11-23 09:55:22
 */
public interface ISceneFloorService extends JoinIService<SceneFloorEntity> {


    /**
     * 保存楼层信息
     * @param edificeId     楼栋ID
     * @param floorJson     楼层信息
     */
    boolean saveEdificeFloors(String edificeId, String sceneProjectId, String floorJson);

    boolean initFloorByEdifice(SceneEdificeEntity edifice);

    /**
     * 删除楼层
     * @param ids
     */
    boolean removeFloors(List<String> ids);
}
